<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018\9\6 0006
  Time: 17:21
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>项目信息</title>
    <style>
        td {
            width: 100px;
            height: 16px;
            line-height: 16px;
            text-align: center;
            vertical-align: middle;
            left: 100px;
        }
        tr{
            background: gainsboro
        }
    </style>
</head>
<body>
<form action="" method="post">
    <table border="1" cellspacing="0">
        <tr>
            <td>项目名称</td>
            <td>地址</td>
            <td>可租总面积</td>
            <td>实际租赁面积</td>
            <td>应收租金</td>
            <td>实际收租金</td>
            <td>收缴率</td>
            <td>操作</td>
        </tr>
        <c:forEach items="${projects}" var="project">
            <tr>
                <td>${project.pname}</td>
                <td>${project.address}</td>
                <td>${project.rental_size}</td>
                <td>${project.actual_size}</td>
                <td>${project.expect_money}</td>
                <td>${project.actual_money}</td>
                <td>${project.rate}</td>
                <td><a href="/rentsys/project/getProjectById?id=${project.id}">查看</a>
                    <a href="/rentsys/project/toUpdateProject?id=${project.id}">编辑</a>
                </td>

            </tr>
        </c:forEach>
        <a href="/rentsys/project/toAddProject">添加</a>
    </table>
</form>
</body>
</html>
